.log-viewer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: #f7f8fa;
  border-radius: 4px;
  margin-bottom: 16px;
}

.log-viewer-container {
  height: 60vh;
  max-height: 600px;
  overflow-y: auto;
  background-color: #1d1d1d;
  border-radius: 4px;
  padding: 12px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
}

.log-viewer-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.log-viewer-content {
  color: #d4d4d4;
}

.log-line {
  display: flex;
  gap: 8px;
  padding: 2px 0;
  word-break: break-all;
}

.log-line:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.log-timestamp {
  color: #858585;
  flex-shrink: 0;
  user-select: none;
}

.log-level {
  flex-shrink: 0;
  padding: 0 6px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 11px;
  line-height: 20px;
  user-select: none;
  min-width: 60px;
  text-align: center;
}

.log-message {
  flex: 1;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 滚动条样式 */
.log-viewer-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.log-viewer-container::-webkit-scrollbar-track {
  background: #2d2d2d;
  border-radius: 4px;
}

.log-viewer-container::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.log-viewer-container::-webkit-scrollbar-thumb:hover {
  background: #666;
}
